package com.sino.tb.payer;

import com.sino.tb.*;
import java.sql.*;
import java.util.*;
import xpubbean.Db.*;
import xpubbean.General.*;

public class logoutMgr extends basePayer {
	private static String resource = "com.sino.tb.resource.logoutMgrMessages";

	public logoutMgr() {
		this.loadResource(resource);
	}

	public boolean logoutPayer(Hashtable vo_Ht, Connection vo_conn) {
		Hashtable cur_Ht = (Hashtable) vo_Ht.get(TABLE_ID);
		cur_Ht.put("c_sys_flag", "0");
		cur_Ht.put("c_flag", "0");
		vo_Ht.put(TABLE_ID, cur_Ht);
//       if(chgPayer(vo_Ht,vo_conn)!=null) {
//		   return (true);
//       }
		return false;
	}

	protected Hashtable dealFunID25(Hashtable vo_Ht, Connection vo_conn) {
		vo_Ht.remove("othervalues");
		if (logoutPayer(vo_Ht, vo_conn)) {
			return this.retObject(true);
		}
		return null;
	}
}
